home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / frames.com / FRAME.C < prev    next >
Encoding:
C/C++ Source or Header  |  1989-12-17  |  37.1 KB  |  1,711 lines

  1. /*This is a set of Frame Building Tools That I have designed for ease in putting*/
  2. /*different style frames in your programs.I am presently working on a  sample*/
  3. /*program demonstrating each of the screens already available and a file called   */
  4. /*READ.ME for documentation on custom designing your own style frames.              */
  5. /* Any questions,comments,or whatever I can be reached on "Compuserve ID 72701,264."  */
  6. /* I do claim all rights to this code. You are free to use this if it is of help */
  7. /*to you.*/
  8.  /*Thank you for trying  my humble little program. */
  9. /************************************************ Howard Huff   *****************/
  10.                    
  11. #define ulcor a
  12. #define urcor b
  13. #define llcor c
  14. #define lrcor d
  15. #define topbrdr e  
  16. #define botbrdr f
  17. #define midline g
  18. #define sideline h
  19. #define topmid k
  20. #define botmid l
  21. #define lsidemid m
  22. #define rsidemid o
  23. #define centerpoint p
  24. #define hmidline s
  25.  
  26. int a;
  27. int b;
  28. int c;
  29. int d;
  30. int e;
  31. int f;
  32. int g;
  33. int h;
  34. int i;
  35. int j;
  36. int k;
  37. int l;
  38. int m;
  39. int n;
  40. int o;
  41. int p;
  42. int q;/*spacer*/
  43. int r; /*spacer*/
  44. int s;
  45. /*********************************************************************/
  46.  
  47. frame80x25 ()
  48. {int n; /*Top   */
  49. a=201;
  50. b=187;
  51. c=200;
  52. d=188;
  53. e=205;
  54. f=205;
  55. g=205;
  56. h=186;
  57. i=77; /*i = length across */
  58. j=22;/* j = length down screen */
  59.  printf("%c",ulcor);
  60.         {for (n=1;n<=i;++n)
  61.           printf("%c",topbrdr);
  62.         }
  63.    printf("%c\n",urcor);
  64.  
  65.         /* sides*/
  66.  
  67.  {for (n=1;n<=j;++n)
  68.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  69.  }
  70.         /* bottom  */
  71. int n;
  72. { printf("%c",llcor);
  73.          {for (n=1;n<=i;++n)
  74.  
  75.          printf("%c",botbrdr);
  76.         }
  77. printf("%c",lrcor);
  78. }
  79.                    }
  80. /*************************************************/
  81.  
  82. frame10x80 ()
  83. {
  84. a=201;
  85. b=187;
  86. c=200;
  87. d=188;
  88. e=205;
  89. f=205;
  90. g=205;
  91. h=186;
  92. i=77; /*i = length across */
  93. j=10;/* j = length down screen */
  94.  
  95. int n; /*Top   */
  96.  printf("%c",ulcor);
  97.         {for (n=1;n<=i;++n)
  98.           printf("%c",topbrdr);
  99.         }
  100.    printf("%c\n",urcor);
  101.  
  102.         /* sides*/
  103.  
  104.  {for (n=1;n<=j;++n)
  105.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  106.  }
  107.         /* bottom  */
  108. int n;
  109. { printf("%c",llcor);
  110.          {for (n=1;n<=i;++n)
  111.  
  112.          printf("%c",botbrdr);
  113.         }
  114. printf("%c",lrcor);
  115. }                   }
  116. /************************************************/
  117.  
  118.  frame40x25single ()
  119. {int n; /*Top   */
  120. a=218;
  121. b=191;
  122. c=192;
  123. d=217;
  124. e=196;
  125. f=196;
  126. g=196;
  127. h=179;
  128. i=37; /*i = length across */
  129. j=22;/* j = length down screen */
  130.  printf("%c",ulcor);
  131.         {for (n=1;n<=i;++n)
  132.           printf("%c",topbrdr);
  133.         }
  134.    printf("%c\n",urcor);
  135.  
  136.         /* sides*/
  137.  
  138.  {for (n=1;n<=j;++n)
  139.  printf("%c\t\t\t              %c\n",sideline,sideline);
  140.  }
  141.         /* bottom  */
  142. int n;
  143. { printf("%c",llcor);
  144.          {for (n=1;n<=i;++n)
  145.  
  146.          printf("%c",botbrdr);
  147.         }
  148. printf("%c",lrcor);
  149. }                   }
  150. /*************************************************************/
  151.  
  152. frame80x24single () /*single bar frame*/
  153. {
  154. a=218;
  155. b=191;
  156. c=192;
  157. d=217;
  158. e=196;
  159. f=196;
  160. g=196;
  161. h=179;
  162. i=77; /*i = length across */
  163. j=22;/* j = length down screen */
  164.  
  165. int n; /*Top   */
  166.  printf("%c",ulcor);
  167.         {for (n=1;n<=i;++n)
  168.           printf("%c",topbrdr);
  169.         }
  170.    printf("%c\n",urcor);
  171.  
  172.         /* sides*/
  173.  
  174.  {for (n=1;n<=j;++n)
  175.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  176.  }
  177.         /* bottom  */
  178. int n;
  179. { printf("%c",llcor);
  180.          {for (n=1;n<=i;++n)
  181.  
  182.          printf("%c",botbrdr);
  183.         }
  184. printf("%c",lrcor);
  185. }                   }
  186. /*************************************************/
  187.  
  188.  frame10x24single() 
  189. {int n; /*Top   */
  190. a=218;
  191. b=191;
  192. c=192;
  193. d=217;
  194. e=196;
  195. f=196;
  196. g=196;
  197. h=179;
  198. i=7; /*i = length across */
  199. j=22;/* j = length down screen */
  200.  printf("%c",ulcor);
  201.         {for (n=1;n<=i;++n)
  202.           printf("%c",topbrdr);
  203.         }
  204.    printf("%c\n",urcor);
  205.  
  206.         /* sides*/
  207.  
  208.  {for (n=1;n<=j;++n)
  209.  printf("%c\t%c\n",sideline,sideline);
  210.  }
  211.         /* bottom  */
  212. int n;
  213. { printf("%c",llcor);
  214.          {for (n=1;n<=i;++n)
  215.  
  216.          printf("%c",botbrdr);
  217.         }
  218. printf("%c",lrcor);
  219. }                   }
  220. /*******************************************/
  221.  
  222.     frame80x10single()
  223. {
  224. a=218;
  225. b=191;
  226. c=192;
  227. d=217;
  228. e=196;
  229. f=196;
  230. g=196;
  231. h=179;
  232. i=77; /*i = length across */
  233. j=10;/* j = length down screen */
  234.  
  235. int n; /*Top   */
  236.  printf("%c",ulcor);
  237.         {for (n=1;n<=i;++n)
  238.           printf("%c",topbrdr);
  239.         }
  240.    printf("%c\n",urcor);
  241.  
  242.         /* sides*/
  243.  
  244.  {for (n=1;n<=j;++n)
  245.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  246.  }
  247.         /* bottom  */
  248. int n;
  249. { printf("%c",llcor);
  250.          {for (n=1;n<=i;++n)
  251.  
  252.          printf("%c",botbrdr);
  253.         }
  254. printf("%c",lrcor);
  255. }                   }
  256. /*****************************************************/
  257.  
  258. framesolid80x24 ()
  259. {int n; /*Top   */
  260. a=219;
  261. b=219;
  262. c=219;
  263. d=219;
  264. e=219;
  265. f=219;
  266. g=219;
  267. h=219;
  268. i=77; /*i = length across */
  269. j=22;/* j = length down screen */
  270.  printf("%c",ulcor);
  271.         {for (n=1;n<=i;++n)
  272.           printf("%c",topbrdr);
  273.         }
  274.    printf("%c\n",urcor);
  275.  
  276.         /* sides*/
  277.  
  278.  {for (n=1;n<=j;++n)
  279.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  280.  }
  281.         /* bottom  */
  282. int n;
  283. { printf("%c",llcor);
  284.          {for (n=1;n<=i;++n)
  285.  
  286.          printf("%c",botbrdr);
  287.         }
  288. printf("%c",lrcor);
  289. }                   }
  290. /********************************************/
  291.  
  292.  framesolid80x10 ()
  293. {
  294. a=219;
  295. b=219;
  296. c=219;
  297. d=219;
  298. e=219;
  299. f=219;
  300. g=219;
  301. h=219;
  302. i=77; /*i = length across */
  303. j=10;/* j = length down screen */
  304.  
  305. int n; /*Top   */
  306.  printf("%c",ulcor);
  307.         {for (n=1;n<=i;++n)
  308.           printf("%c",topbrdr);
  309.         }
  310.    printf("%c\n",urcor);
  311.  
  312.         /* sides*/
  313.  
  314.  {for (n=1;n<=j;++n)
  315.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  316.  }
  317.         /* bottom  */
  318. int n;
  319. { printf("%c",llcor);
  320.          {for (n=1;n<=i;++n)
  321.  
  322.          printf("%c",botbrdr);
  323.         }
  324. printf("%c",lrcor);
  325. }                   }
  326. /************************************************/
  327.  
  328.  framechecked80x24 ()   
  329. {
  330. int n; /*Top   */
  331. a=176;
  332. b=176;
  333. c=176;
  334. d=176;
  335. e=176;
  336. f=176;
  337. g=176;
  338. h=176;
  339. i=77; /*i = length across */
  340. j=22;/* j = length down screen */
  341.  printf("%c",ulcor);
  342.         {for (n=1;n<=i;++n)
  343.           printf("%c",topbrdr);
  344.         }
  345.    printf("%c\n",urcor);
  346.  
  347.         /* sides*/
  348.  
  349.  {for (n=1;n<=j;++n)
  350.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  351.  }
  352.         /* bottom  */
  353. int n;
  354. { printf("%c",llcor);
  355.          {for (n=1;n<=i;++n)
  356.  
  357.          printf("%c",botbrdr);
  358.         }
  359. printf("%c",lrcor);
  360. }                   }
  361. /******************************************************/
  362.  
  363. framesolid80x5 ()
  364. {
  365. a=219;
  366. b=219;
  367. c=219;
  368. d=219;
  369. e=219;
  370. f=219;
  371. g=219;
  372. h=219;
  373. i=77; /*i = length across */
  374. j=3;/* j = length down screen */
  375.  
  376. int n; /*Top   */
  377.  printf("%c",ulcor);
  378.         {for (n=1;n<=i;++n)
  379.           printf("%c",topbrdr);
  380.         }
  381.    printf("%c\n",urcor);
  382.  
  383.         /* sides*/
  384.  
  385.  {for (n=1;n<=j;++n)
  386.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  387.  }
  388.         /* bottom  */
  389. int n;
  390. { printf("%c",llcor);
  391.          {for (n=1;n<=i;++n)
  392.  
  393.          printf("%c",botbrdr);
  394.         }
  395. printf("%c",lrcor);
  396. }                   }
  397. /*********************************************************/
  398.  
  399.    framechecked80x10 () 
  400. {
  401. int n; /*Top   */
  402. a=176;
  403. b=176;
  404. c=176;
  405. d=176;
  406. e=176;
  407. f=176;
  408. g=176;
  409. h=176;
  410. i=77; /*i = length across */
  411. j=8;/* j = length down screen */
  412.  printf("%c",ulcor);
  413.         {for (n=1;n<=i;++n)
  414.           printf("%c",topbrdr);
  415.         }
  416.    printf("%c\n",urcor);
  417.  
  418.         /* sides*/
  419.  
  420.  {for (n=1;n<=j;++n)
  421.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  422.  }
  423.         /* bottom  */
  424. int n;
  425. { printf("%c",llcor);
  426.          {for (n=1;n<=i;++n)
  427.  
  428.          printf("%c",botbrdr);
  429.         }
  430. printf("%c",lrcor);
  431. }                   }
  432. /*************************************************/
  433.  
  434.     framechecked80x5() 
  435. {
  436. a=176;
  437. b=177;
  438. c=176;
  439. d=176;
  440. e=176;
  441. f=176;
  442. g=176;
  443. h=176;
  444. i=77; /*i = length across */
  445. j=3;/* j = length down screen */
  446.  
  447. int n; /*Top   */
  448.  printf("%c",ulcor);
  449.         {for (n=1;n<=i;++n)
  450.           printf("%c",topbrdr);
  451.         }
  452.    printf("%c\n",urcor);
  453.  
  454.         /* sides*/
  455.  
  456.  {for (n=1;n<=j;++n)
  457.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  458.  }
  459.         /* bottom  */
  460. int n;
  461. { printf("%c",llcor);
  462.          {for (n=1;n<=i;++n)
  463.  
  464.          printf("%c",botbrdr);
  465.         }
  466. printf("%c",lrcor);
  467. }                   }
  468. /***************************************************/
  469.  
  470.  framechck80x24 () 
  471. {int n; /*Top   */
  472. a=177;
  473. b=177;
  474. c=177;
  475. d=177;
  476. e=177;
  477. f=177;
  478. g=177;
  479. h=177;
  480. i=77; /*i = length across */
  481. j=22;/* j = length down screen */
  482.  printf("%c",ulcor);
  483.         {for (n=1;n<=i;++n)
  484.           printf("%c",topbrdr);
  485.         }
  486.    printf("%c\n",urcor);
  487.  
  488.         /* sides*/
  489.  
  490.  {for (n=1;n<=j;++n)
  491.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  492.  }
  493.         /* bottom  */
  494. int n;
  495. { printf("%c",llcor);
  496.          {for (n=1;n<=i;++n)
  497.  
  498.          printf("%c",botbrdr);
  499.         }
  500. printf("%c",lrcor);
  501. }                   }
  502. /*****************************************/
  503.  
  504.    framechk80x10()
  505. {
  506. a=177;
  507. b=177;
  508. c=177;
  509. d=177;
  510. e=177;
  511. f=177;
  512. g=177;
  513. h=177;
  514. i=77; /*i = length across */
  515. j=10;/* j = length down screen */
  516.  
  517. int n; /*Top   */
  518.  printf("%c",ulcor);
  519.         {for (n=1;n<=i;++n)
  520.           printf("%c",topbrdr);
  521.         }
  522.    printf("%c\n",urcor);
  523.  
  524.         /* sides*/
  525.  
  526.  {for (n=1;n<=j;++n)
  527.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  528.  }
  529.         /* bottom  */
  530. int n;
  531. { printf("%c",llcor);
  532.          {for (n=1;n<=i;++n)
  533.  
  534.          printf("%c",botbrdr);
  535.         }
  536. printf("%c",lrcor);
  537. }                   }
  538. /*****************************************************************************/
  539. /*****************************************************************************/
  540.   v_splt_dframe ()         
  541. {
  542. int n; /*Top   */
  543. a=201;
  544. b=187;
  545. c=200;
  546. d=188;
  547. e=205;
  548. f=205;
  549. g=186;
  550. h=186;
  551. i=77; /*i = length across */
  552. j=22;/* j = length down screen */
  553. k=203; /*topmid */
  554. l=202; /*botmid*/
  555. m=204; /*lsidemid */
  556. o=185; /*rsidemid */
  557. p=206; /*centerpoint*/
  558. q=38;/*spacer*/
  559. r=11;/*spacer*/
  560.  printf("%c",ulcor);
  561.         {for (n=1;n<=q;++n)
  562.           printf("%c",topbrdr);
  563.         }
  564.   printf("%c",topmid);
  565.         {for (n=1;n<=q;++n)
  566.           printf("%c",topbrdr);
  567.          }
  568.  printf("%c\n",urcor);
  569.  
  570.         /* sides*/
  571.  
  572.  {for (n=1;n<=j;++n)
  573.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  574.  }
  575.         /* bottom  */
  576. int n;
  577.  printf("%c",llcor);
  578.         {for (n=1;n<=q;++n)
  579.           printf("%c",botbrdr);
  580.         }
  581.   printf("%c",botmid);
  582.         {for (n=1;n<=q;++n)
  583.           printf("%c",botbrdr);
  584.          }
  585.  printf("%c",lrcor);
  586.  
  587.                    }
  588. /**************************************************/
  589.  
  590.   v_splt_sframe ()          
  591. {
  592. int n; /*Top   */
  593. a=218;/* a= upper left corner*/
  594. b=191;/*b= upper right corner*/
  595. c=192;/* c=lower left corner*/
  596. d=217;/* d=lower right corner*/
  597. e=196; /*e= top border */
  598. f=196; /*f= bottom border */
  599. g=179; /*g= verticle midline*/
  600. h=179; /*h= sideline */
  601. i=77; /*i = length across */
  602. j=22;/* j = length down screen */
  603. k=194; /*topmid */
  604. l=193; /*botmid*/
  605. m=204; /*lsidemid */
  606. o=185; /*rsidemid */
  607. p=197; /*centerpoint*/
  608. q=38;/*spacer*/
  609. r=11;/*spacer*/
  610. s=196;/*horizontal midline */
  611.  
  612.  printf("%c",ulcor);
  613.         {for (n=1;n<=q;++n)
  614.           printf("%c",topbrdr);
  615.         }
  616.   printf("%c",topmid);
  617.         {for (n=1;n<=q;++n)
  618.           printf("%c",topbrdr);
  619.          }
  620.  printf("%c\n",urcor);
  621.  
  622.         /* sides*/
  623.                       
  624.  {for (n=1;n<=j;++n)
  625.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  626.  }
  627.         /* bottom  */
  628. int n;
  629.  printf("%c",llcor);
  630.         {for (n=1;n<=q;++n)
  631.           printf("%c",botbrdr);
  632.         }
  633.   printf("%c",botmid);
  634.         {for (n=1;n<=q;++n)
  635.           printf("%c",botbrdr);
  636.          }
  637.  printf("%c",lrcor);
  638.                    }
  639. /*********************************************************/
  640.  
  641.   v_splt_dsframe ()             
  642. {
  643. int n; /*Top   */
  644. a=213;/* a= upper left corner*/
  645. b=184;/*b= upper right corner*/
  646. c=212;/* c=lower left corner*/
  647. d=190;/* d=lower right corner*/
  648. e=205; /*e= top border */
  649. f=205; /*f= bottom border */
  650. g=179; /*g= verticle midline*/
  651. h=179; /*h= sideline */
  652. i=77; /*i = length across */
  653. j=22;/* j = length down screen */
  654. k=209; /*topmid */
  655. l=207; /*botmid*/
  656. m=198; /*lsidemid */
  657. o=181; /*rsidemid */
  658. p=216; /*centerpoint*/
  659. q=38;/*spacer*/
  660. r=11;/*spacer*/
  661. s=205;/*horizontal midline */
  662.  
  663.  printf("%c",ulcor);
  664.         {for (n=1;n<=q;++n)
  665.           printf("%c",topbrdr);
  666.         }
  667.   printf("%c",topmid);
  668.         {for (n=1;n<=q;++n)
  669.           printf("%c",topbrdr);
  670.         }
  671.  printf("%c\n",urcor);
  672.  
  673.         /* sides*/
  674.                       
  675.  {for (n=1;n<=j;++n)
  676.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  677.  }
  678.         /* bottom  */
  679. int n;
  680.  printf("%c",llcor);
  681.         {for (n=1;n<=q;++n)
  682.           printf("%c",botbrdr);
  683.         }
  684.   printf("%c",botmid);
  685.         {for (n=1;n<=q;++n)
  686.           printf("%c",botbrdr);
  687.          }
  688.  printf("%c",lrcor);
  689.                    }
  690. /**************************************************/
  691.  
  692.   v_splt_sdframe ()            
  693. {
  694. int n; /*Top   */
  695. a=214;/* a= upper left corner*/
  696. b=183;/*b= upper right corner*/
  697. c=211;/* c=lower left corner*/
  698. d=189;/* d=lower right corner*/
  699. e=196; /*e= top border */
  700. f=196; /*f= bottom border */
  701. g=186; /*g= verticle midline*/
  702. h=186; /*h= sideline */
  703. i=77; /*i = length across */
  704. j=22;/* j = length down screen */
  705. k=210; /*topmid */
  706. l=208; /*botmid*/
  707. m=199; /*lsidemid */
  708. o=182; /*rsidemid */
  709. p=215; /*centerpoint*/
  710. q=38;/*spacer*/
  711. r=11;/*spacer*/
  712. s=196;/*horizontal midline */
  713.  
  714.  printf("%c",ulcor);
  715.         {for (n=1;n<=q;++n)
  716.          printf("%c",topbrdr);
  717.       }
  718.   printf("%c",topmid);
  719.         {for (n=1;n<=q;++n)
  720.           printf("%c",topbrdr);
  721.          }
  722.  printf("%c\n",urcor);
  723.  
  724.         /* sides*/
  725.                       
  726.  {for (n=1;n<=j;++n)
  727.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  728.  }
  729.         /* bottom  */
  730. int n;
  731.  printf("%c",llcor);
  732.         {for (n=1;n<=q;++n)
  733.           printf("%c",botbrdr);
  734.         }
  735.  printf("%c",botmid);
  736.         {for (n=1;n<=q;++n)
  737.           printf("%c",botbrdr);
  738.          }
  739.  printf("%c",lrcor);
  740.                    }
  741. /***********************************************/
  742.  
  743.     v_splt_ssframe ()          
  744. {
  745. int n; /*Top   */
  746. a=219;/* a= upper left corner*/
  747. b=219;/*b= upper right corner*/
  748. c=219;/* c=lower left corner*/
  749. d=219;/* d=lower right corner*/
  750. e=219; /*e= top border */
  751. f=219; /*f= bottom border */
  752. g=219; /*g= verticle midline*/
  753. h=219; /*h= sideline */
  754. i=77; /*i = length across */
  755. j=12;/* j = length down screen */
  756. k=219; /*topmid */
  757. l=219; /*botmid*/
  758. m=219; /*lsidemid */
  759. o=219; /*rsidemid */
  760. p=219; /*centerpoint*/
  761. q=38;/*spacer*/
  762. r=11;/*spacer*/
  763. s=219;/*horizontal midline */
  764.  
  765.  printf("%c",ulcor);
  766.         {for (n=1;n<=q;++n)
  767.           printf("%c",topbrdr);
  768.         }
  769.   printf("%c",topmid);
  770.        {for (n=1;n<=q;++n)
  771.           printf("%c",topbrdr);
  772.          }
  773.  printf("%c\n",urcor);
  774.  
  775.         /* sides*/
  776.                       
  777.  {for (n=1;n<=j;++n)
  778.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  779.  }
  780.         /* bottom  */
  781. int n;
  782.  printf("%c",llcor);
  783.         {for (n=1;n<=q;++n)
  784.           printf("%c",botbrdr);
  785.         }
  786.   printf("%c",botmid);
  787.         {for (n=1;n<=q;++n)
  788.           printf("%c",botbrdr);
  789.          }
  790.  printf("%c",lrcor);
  791.                    }
  792. /**********************************************/
  793.  
  794.    v_splt_chkframe()          
  795. {
  796. int n; /*Top   */
  797. a=176;/* a= upper left corner*/
  798. b=176;/*b= upper right corner*/
  799. c=176;/* c=lower left corner*/
  800. d=176;/* d=lower right corner*/
  801. e=176; /*e= top border */
  802. f=176; /*f= bottom border */
  803. g=176; /*g= verticle midline*/
  804. h=176; /*h= sideline */
  805. i=77; /*i = length across */
  806. j=22;/* j = length down screen */
  807. k=176; /*topmid */
  808. l=176; /*botmid*/
  809. m=176; /*lsidemid */
  810. o=176; /*rsidemid */
  811. p=176; /*centerpoint*/
  812. q=38;/*spacer*/
  813. r=11;/*spacer*/
  814. s=176;/*horizontal midline */
  815.  
  816.  printf("%c",ulcor);
  817.         {for (n=1;n<=q;++n)
  818.           printf("%c",topbrdr);
  819.         }
  820.   printf("%c",topmid);
  821.         {for (n=1;n<=q;++n)
  822.           printf("%c",topbrdr);
  823.          }
  824.  printf("%c\n",urcor);
  825.  
  826.         /* sides*/
  827.                       
  828.  {for (n=1;n<=j;++n)
  829.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  830.  }
  831.         /* bottom  */
  832. int n;
  833.  printf("%c",llcor);
  834.         {for (n=1;n<=q;++n)
  835.           printf("%c",botbrdr);
  836.         }
  837.   printf("%c",botmid);
  838.         {for (n=1;n<=q;++n)
  839.           printf("%c",botbrdr);
  840.          }
  841.  printf("%c",lrcor);
  842.                    }
  843. /*******************************************/
  844.  
  845.     v_splt_chk1frame ()           
  846. {
  847. int n; /*Top   */
  848. a=177;/* a= upper left corner*/
  849. b=177;/*b= upper right corner*/
  850. c=177;/* c=lower left corner*/
  851. d=177;/* d=lower right corner*/
  852. e=177; /*e= top border */
  853. f=177; /*f= bottom border */
  854. g=177; /*g= verticle midline*/
  855. h=177; /*h= sideline */
  856. i=77; /*i = length across */
  857. j=22;/* j = length down screen */
  858. k=177; /*topmid */
  859. l=177; /*botmid*/
  860. m=177; /*lsidemid */
  861. o=177; /*rsidemid */
  862. p=177; /*centerpoint*/
  863. q=38;/*spacer*/
  864. r=11;/*spacer*/
  865. s=177;/*horizontal midline */
  866.  
  867.  printf("%c",ulcor);
  868.         {for (n=1;n<=q;++n)
  869.           printf("%c",topbrdr);
  870.         }
  871.   printf("%c",topmid);
  872.         {for (n=1;n<=q;++n)
  873.           printf("%c",topbrdr);
  874.          }
  875.  printf("%c\n",urcor);
  876.  
  877.         /* sides*/
  878.                       
  879.  {for (n=1;n<=j;++n)
  880.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  881.  }
  882.         /* bottom  */
  883. int n;
  884.  printf("%c",llcor);
  885.         {for (n=1;n<=q;++n)
  886.           printf("%c",botbrdr);
  887.         }
  888.   printf("%c",botmid);
  889.         {for (n=1;n<=q;++n)
  890.           printf("%c",botbrdr);
  891.          }
  892.  printf("%c",lrcor);
  893.                    }
  894. /****************************************************************************/
  895. /****************************************************************************/
  896.  
  897.   h_splt_dframe ()           
  898. {
  899. int n; /*Top   */
  900. a=201;
  901. b=187;
  902. c=200;
  903. d=188;
  904. e=205;
  905. f=205;
  906. g=186;
  907. h=186;
  908. i=77; /*i = length across */
  909. j=22;/* j = length down screen */
  910. k=203; /*topmid */
  911. l=202; /*botmid*/
  912. m=204; /*lsidemid */
  913. o=185; /*rsidemid */
  914. p=206; /*centerpoint*/
  915. q=38;/*spacer*/
  916. r=10;/*spacer*/
  917. s=205;/*horizontal mid line */
  918. /*************  TOP ************/
  919.  printf("%c",ulcor);
  920.         {for (n=1;n<=i;++n)
  921.           printf("%c",topbrdr);
  922.         }
  923.  printf("%c\n",urcor);
  924.  
  925.         /* sides*/
  926.  
  927.  {for (n=1;n<=r;++n)
  928.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  929.  }
  930.  printf("%c",lsidemid);
  931.   { for(n=1;n<=i;++n)
  932.     printf("%c",hmidline);
  933.   }
  934.  printf("%c\n",rsidemid);
  935.  {for (n=1;n<=r;++n)
  936.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  937.  }
  938.  
  939.         /* bottom  */
  940. int n;
  941.  printf("%c",llcor);
  942.         {for (n=1;n<=i;++n)
  943.           printf("%c",botbrdr);
  944.         }
  945.  printf("%c",lrcor);
  946.  
  947.                    }
  948. /*********************************************/
  949.  
  950.   h_splt_sframe ()            
  951. {
  952. int n; /*Top   */
  953. a=218;/* a= upper left corner*/
  954. b=191;/*b= upper right corner*/
  955. c=192;/* c=lower left corner*/
  956. d=217;/* d=lower right corner*/
  957. e=196; /*e= top border */
  958. f=196; /*f= bottom border */
  959. g=179; /*g= verticle midline*/
  960. h=179; /*h= sideline */
  961. i=77; /*i = length across */
  962. j=22;/* j = length down screen */
  963. k=194; /*topmid */
  964. l=193; /*botmid*/
  965. m=195; /*lsidemid */
  966. o=180; /*rsidemid */
  967. p=197; /*centerpoint*/
  968. q=38;/*spacer*/
  969. r=10;/*spacer*/
  970. s=196;/*horizontal midline */
  971. /*************  TOP ************/
  972.  printf("%c",ulcor);
  973.         {for (n=1;n<=i;++n)
  974.           printf("%c",topbrdr);
  975.         }
  976.  printf("%c\n",urcor);
  977.         /* sides*/
  978.  
  979.  {for (n=1;n<=r;++n)
  980.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  981.  }
  982.  printf("%c",lsidemid);
  983.   { for(n=1;n<=i;++n)
  984.     printf("%c",hmidline);
  985.   }
  986.  printf("%c\n",rsidemid);
  987.  {for (n=1;n<=r;++n)
  988.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  989.  }
  990.  
  991.         /* bottom  */
  992. int n;
  993.  printf("%c",llcor);
  994.         {for (n=1;n<=i;++n)
  995.           printf("%c",botbrdr);
  996.         }
  997.  printf("%c",lrcor);
  998.  
  999.         }
  1000. /**********************************************/
  1001.  
  1002.   h_splt_dsframe ()             
  1003. {
  1004. int n; /*Top   */
  1005. a=213;/* a= upper left corner*/
  1006. b=184;/*b= upper right corner*/
  1007. c=212;/* c=lower left corner*/
  1008. d=190;/* d=lower right corner*/
  1009. e=205; /*e= top border */
  1010. f=205; /*f= bottom border */
  1011. g=179; /*g= verticle midline*/
  1012. h=179; /*h= sideline */
  1013. i=77; /*i = length across */
  1014. j=22;/* j = length down screen */
  1015. k=209; /*topmid */
  1016. l=207; /*botmid*/
  1017. m=198; /*lsidemid */
  1018. o=181; /*rsidemid */
  1019. p=216; /*centerpoint*/
  1020. q=38;/*spacer*/
  1021. r=10;/*spacer*/
  1022. s=205;/*horizontal midline */
  1023.  
  1024. /*************  TOP ************/
  1025.  printf("%c",ulcor);
  1026.         {for (n=1;n<=i;++n)
  1027.           printf("%c",topbrdr);
  1028.         }
  1029.  printf("%c\n",urcor);
  1030.         /* sides*/
  1031.  
  1032.  {for (n=1;n<=r;++n)
  1033.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  1034.  }
  1035.  printf("%c",lsidemid);
  1036.   { for(n=1;n<=i;++n)
  1037.     printf("%c",hmidline);
  1038.   }
  1039.  printf("%c\n",rsidemid);
  1040.  {for (n=1;n<=r;++n)
  1041.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  1042.  }
  1043.  
  1044.         /* bottom  */
  1045. int n;
  1046.  printf("%c",llcor);
  1047.         {for (n=1;n<=i;++n)
  1048.           printf("%c",botbrdr);
  1049.         }
  1050.  printf("%c",lrcor);
  1051.                    }
  1052. /***************************************************/
  1053.  
  1054.   h_splt_sdframe ()            
  1055. {
  1056. int n; /*Top   */
  1057. a=214;/* a= upper left corner*/
  1058. b=183;/*b= upper right corner*/
  1059. c=211;/* c=lower left corner*/
  1060. d=189;/* d=lower right corner*/
  1061. e=196; /*e= top border */
  1062. f=196; /*f= bottom border */
  1063. g=186; /*g= verticle midline*/
  1064. h=186; /*h= sideline */
  1065. i=77; /*i = length across */
  1066. j=22;/* j = length down screen */
  1067. l=210; /*topmid */
  1068. l=208; /*botmid*/
  1069. m=199; /*lsidemid */
  1070. o=182; /*rsidemid */
  1071. p=215; /*centerpoint*/
  1072. q=38;/*spacer*/
  1073. r=10;/*spacer*/
  1074. s=196;/*horizontal midline */
  1075.  
  1076. /*************  TOP ************/
  1077.  printf("%c",ulcor);
  1078.         {for (n=1;n<=i;++n)
  1079.           printf("%c",topbrdr);
  1080.         }
  1081.  printf("%c\n",urcor);
  1082.         /* sides*/
  1083.  
  1084.  {for (n=1;n<=r;++n)
  1085.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  1086.  }
  1087.  printf("%c",lsidemid);
  1088.   { for(n=1;n<=i;++n)
  1089.     printf("%c",hmidline);
  1090.   }
  1091.  printf("%c\n",rsidemid);
  1092.  {for (n=1;n<=r;++n)
  1093.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  1094.  }
  1095.  
  1096.         /* bottom  */
  1097. int n;
  1098.  printf("%c",llcor);
  1099.         {for (n=1;n<=i;++n)
  1100.           printf("%c",botbrdr);
  1101.         }
  1102.  printf("%c",lrcor);
  1103.         }
  1104. /********************************************/
  1105.  
  1106.     h_splt_ssframe ()           
  1107.  
  1108. {
  1109. int n; /*Top   */
  1110. a=219;/* a= upper left corner*/
  1111. b=219;/*b= upper right corner*/
  1112. c=219;/* c=lower left corner*/
  1113. d=219;/* d=lower right corner*/
  1114. e=219; /*e= top border */
  1115. f=219; /*f= bottom border */
  1116. g=219; /*g= verticle midline*/
  1117. h=219; /*h= sideline */
  1118. i=77; /*i = length across */
  1119. j=12;/* j = length down screen */
  1120. k=219; /*topmid */
  1121. l=219; /*botmid*/
  1122. m=219; /*lsidemid */
  1123. o=219; /*rsidemid */
  1124. p=219; /*centerpoint*/
  1125. q=38;/*spacer*/
  1126. r=10;/*spacer*/
  1127. s=219;/*horizontal midline */
  1128.  
  1129. /*************  TOP ************/
  1130.  printf("%c",ulcor);
  1131.         {for (n=1;n<=i;++n)
  1132.           printf("%c",topbrdr);
  1133.         }
  1134.  printf("%c\n",urcor);
  1135.         /* sides*/
  1136.  
  1137.  {for (n=1;n<=r;++n)
  1138.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  1139.  }
  1140.  printf("%c",lsidemid);
  1141.   { for(n=1;n<=i;++n)
  1142.     printf("%c",hmidline);
  1143.   }
  1144.  printf("%c\n",rsidemid);
  1145.  {for (n=1;n<=r;++n)
  1146.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  1147.  }
  1148.  
  1149.         /* bottom  */
  1150.  
  1151. int n;
  1152.  printf("%c",llcor);
  1153.         {for (n=1;n<=i;++n)
  1154.           printf("%c",botbrdr);
  1155.         }
  1156.  printf("%c",lrcor);
  1157.                    }
  1158. /************************************************/
  1159.  
  1160.    h_splt_chkframe()          
  1161.  
  1162. {
  1163. int n; /*Top   */
  1164. a=176;/* a= upper left corner*/
  1165. b=176;/*b= upper right corner*/
  1166. c=176;/* c=lower left corner*/
  1167. d=176;/* d=lower right corner*/
  1168. e=176; /*e= top border */
  1169. f=176; /*f= bottom border */
  1170. g=176; /*g= verticle midline*/
  1171. h=176; /*h= sideline */
  1172. i=77; /*i = length across */
  1173. j=22;/* j = length down screen */
  1174. k=176; /*topmid */
  1175. l=176; /*botmid*/
  1176. m=176; /*lsidemid */
  1177. o=176; /*rsidemid */
  1178. p=176; /*centerpoint*/
  1179. q=38;/*spacer*/
  1180. r=10;/*spacer*/
  1181. s=176;/*horizontal midline */
  1182.  
  1183. /*************  TOP ************/
  1184.  printf("%c",ulcor);
  1185.         {for (n=1;n<=i;++n)
  1186.           printf("%c",topbrdr);
  1187.         }
  1188.  printf("%c\n",urcor);
  1189.       /* sides*/
  1190.  
  1191.  {for (n=1;n<=r;++n)
  1192.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  1193.  }
  1194.  printf("%c",lsidemid);
  1195.   { for(n=1;n<=i;++n)
  1196.     printf("%c",hmidline);
  1197.   }
  1198.  printf("%c\n",rsidemid);
  1199.  {for (n=1;n<=r;++n)
  1200.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  1201.  }
  1202.  
  1203.         /* bottom  */
  1204. int n;
  1205.  printf("%c",llcor);
  1206.         {for (n=1;n<=i;++n)
  1207.           printf("%c",botbrdr);
  1208.         }
  1209.  printf("%c",lrcor);
  1210.                    }
  1211. /********************************************************/
  1212.  
  1213.     h_splt_chk1frame ()            
  1214.  
  1215. {
  1216. int n; /*Top   */
  1217. a=177;/* a= upper left corner*/
  1218. b=177;/*b= upper right corner*/
  1219. c=177;/* c=lower left corner*/
  1220. d=177;/* d=lower right corner*/
  1221. e=177; /*e= top border */
  1222. f=177; /*f= bottom border */
  1223. g=177; /*g= verticle midline*/
  1224. h=177; /*h= sideline */
  1225. i=77; /*i = length across */
  1226. j=22;/* j = length down screen */
  1227. k=177; /*topmid */
  1228. l=177; /*botmid*/
  1229. m=177; /*lsidemid */
  1230. o=177; /*rsidemid */
  1231. p=177; /*centerpoint*/
  1232. q=38;/*spacer*/
  1233. r=10;/*spacer*/
  1234. s=177;/*horizontal midline */
  1235. /*************  TOP ************/
  1236.  printf("%c",ulcor);
  1237.         {for (n=1;n<=i;++n)
  1238.           printf("%c",topbrdr);
  1239.         }
  1240.  printf("%c\n",urcor);
  1241.       /* sides*/
  1242.  
  1243.  {for (n=1;n<=r;++n)
  1244.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  1245.  }
  1246.  printf("%c",lsidemid);
  1247.   { for(n=1;n<=i;++n)
  1248.     printf("%c",hmidline);
  1249.   }
  1250.  printf("%c\n",rsidemid);
  1251.  {for (n=1;n<=r;++n)
  1252.  printf("%c\t\t\t\t\t\t\t\t\t      %c\n",sideline,sideline);
  1253.  }
  1254.  
  1255.         /* bottom  */
  1256. int n;
  1257.  printf("%c",llcor);
  1258.         {for (n=1;n<=i;++n)
  1259.           printf("%c",botbrdr);
  1260.         }
  1261.  printf("%c",lrcor);
  1262.                    }
  1263. /**************************************************************************/
  1264. /**************************************************************************/
  1265.   hv_splt_dframe ()         
  1266.  
  1267. {
  1268. int n; /*Top   */
  1269. a=201; /* ulcor */
  1270. b=187; /* urcor */
  1271. c=200; /*llcor */
  1272. d=188; /* lrcor */
  1273. e=205; /*topbrdr */
  1274. f=205; /* botbrdr */
  1275. g=186; /* verticle midline */
  1276. h=186; /*sideline  */
  1277. i=77; /*i = length across */
  1278. j=22;/* j = length down screen */
  1279. k=203; /*topmid */
  1280. l=202; /*botmid*/
  1281. m=204; /*lsidemid */
  1282. o=185; /*rsidemid */
  1283. p=206; /*centerpoint*/
  1284. q=38;/*spacer*/
  1285. r=10;/*spacer*/
  1286. s=205; /*horizontal midline*/
  1287. /*************** TOP **************/
  1288.  printf("%c",ulcor);
  1289.         {for (n=1;n<=q;++n)
  1290.           printf("%c",topbrdr);
  1291.         }
  1292.   printf("%c",topmid);
  1293.         {for (n=1;n<=q;++n)
  1294.           printf("%c",topbrdr);
  1295.          }
  1296.  printf("%c\n",urcor);
  1297.  
  1298.         /* sides*/
  1299.  
  1300.  {for (n=1;n<=r;++n)
  1301.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  1302.  }
  1303.   printf("%c",lsidemid);
  1304.         { for (n=1;n<=q;++n)
  1305.           printf ("%c",hmidline);
  1306.         }
  1307.         printf ("%c",centerpoint);
  1308.         { for (n=1;n<=q;++n)
  1309.           printf ("%c",hmidline);
  1310.         }
  1311.         printf ("%c\n",rsidemid);
  1312.  {for (n=1;n<=r;++n)
  1313.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  1314.  }
  1315.       /* bottom  */
  1316.  printf("%c",llcor);
  1317.         {for (n=1;n<=q;++n)
  1318.           printf("%c",botbrdr);
  1319.         }
  1320.   printf("%c",botmid);
  1321.         {for (n=1;n<=q;++n)
  1322.           printf("%c",botbrdr);
  1323.          }
  1324.  printf("%c\n",lrcor);
  1325. }
  1326. /*********************************************************/
  1327.   hv_splt_sframe ()          
  1328. {
  1329. int n; /*Top   */
  1330. a=218;/* a= upper left corner*/
  1331. b=191;/*b= upper right corner*/
  1332. c=192;/* c=lower left corner*/
  1333. d=217;/* d=lower right corner*/
  1334. e=196; /*e= top border */
  1335. f=196; /*f= bottom border */
  1336. g=179; /*g= verticle midline*/
  1337. h=179; /*h= sideline */
  1338. i=77; /*i = length across */
  1339. j=22;/* j = length down screen */
  1340. k=194; /*topmid */
  1341. l=193; /*botmid*/
  1342. m=195; /*lsidemid */
  1343. o=180; /*rsidemid */
  1344. p=197; /*centerpoint*/
  1345. q=38;/*spacer*/
  1346. r=10;/*spacer*/
  1347. s=196;/*horizontal midline */
  1348.  
  1349.  /*************** TOP **************/
  1350.  printf("%c",ulcor);
  1351.         {for (n=1;n<=q;++n)
  1352.           printf("%c",topbrdr);
  1353.         }
  1354.   printf("%c",topmid);
  1355.         {for (n=1;n<=q;++n)
  1356.           printf("%c",topbrdr);
  1357.          }
  1358.  printf("%c\n",urcor);
  1359.  
  1360.  
  1361.                       
  1362.          /* sides*/
  1363.  
  1364.  {for (n=1;n<=r;++n)
  1365.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  1366.  }
  1367.   printf("%c",lsidemid);
  1368.         { for (n=1;n<=q;++n)
  1369.           printf ("%c",hmidline);
  1370.         }
  1371.         printf ("%c",centerpoint);
  1372.         { for (n=1;n<=q;++n)
  1373.           printf ("%c",hmidline);
  1374.         }
  1375.         printf ("%c\n",rsidemid);
  1376.  {for (n=1;n<=r;++n)
  1377.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  1378.  }
  1379.        /* bottom  */
  1380.  printf("%c",llcor);
  1381.         {for (n=1;n<=q;++n)
  1382.           printf("%c",botbrdr);
  1383.         }
  1384.   printf("%c",botmid);
  1385.         {for (n=1;n<=q;++n)
  1386.           printf("%c",botbrdr);
  1387.          }
  1388.  printf("%c\n",lrcor);
  1389. }
  1390. /***************************************/
  1391.  
  1392.    hv_splt_dsframe ()                       
  1393. {
  1394. int n; /*Top   */
  1395. a=213;/* a= upper left corner*/
  1396. b=184;/*b= upper right corner*/
  1397. c=212;/* c=lower left corner*/
  1398. d=190;/* d=lower right corner*/
  1399. e=205; /*e= top border */
  1400. f=205; /*f= bottom border */
  1401. g=179; /*g= verticle midline*/
  1402. h=179; /*h= sideline */
  1403. i=77; /*i = length across */
  1404. j=22;/* j = length down screen */
  1405. k=209; /*topmid */
  1406. l=207; /*botmid*/
  1407. m=198; /*lsidemid */
  1408. o=181; /*rsidemid */
  1409. p=216; /*centerpoint*/
  1410. q=38;/*spacer*/
  1411. r=10;/*spacer*/
  1412. s=205;/*horizontal midline */
  1413.  
  1414.  /*************** TOP **************/
  1415.  printf("%c",ulcor);
  1416.         {for (n=1;n<=q;++n)
  1417.           printf("%c",topbrdr);
  1418.         }
  1419.   printf("%c",topmid);
  1420.         {for (n=1;n<=q;++n)
  1421.           printf("%c",topbrdr);
  1422.          }
  1423.  printf("%c\n",urcor);
  1424.  
  1425.  
  1426.          /* sides*/
  1427.  
  1428.  {for (n=1;n<=r;++n)
  1429.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  1430.  }
  1431.   printf("%c",lsidemid);
  1432.         { for (n=1;n<=q;++n)
  1433.           printf ("%c",hmidline);
  1434.         }
  1435.         printf ("%c",centerpoint);
  1436.         { for (n=1;n<=q;++n)
  1437.           printf ("%c",hmidline);
  1438.         }
  1439.         printf ("%c\n",rsidemid);
  1440.  {for (n=1;n<=r;++n)
  1441.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  1442.  }
  1443.        /* bottom  */
  1444.  printf("%c",llcor);
  1445.         {for (n=1;n<=q;++n)
  1446.           printf("%c",botbrdr);
  1447.         }
  1448.   printf("%c",botmid);
  1449.         {for (n=1;n<=q;++n)
  1450.           printf("%c",botbrdr);
  1451.          }
  1452.  printf("%c\n",lrcor);
  1453. }
  1454. /****************************************/
  1455.  
  1456.   hv_splt_sdframe ()            
  1457. {
  1458. int n; /*Top   */
  1459. a=214;/* a= upper left corner*/
  1460. b=183;/*b= upper right corner*/
  1461. c=211;/* c=lower left corner*/
  1462. d=189;/* d=lower right corner*/
  1463. e=196; /*e= top border */
  1464. f=196; /*f= bottom border */
  1465. g=186; /*g= verticle midline*/
  1466. h=186; /*h= sideline */
  1467. i=77; /*i = length across */
  1468. j=22;/* j = length down screen */
  1469. k=210; /*topmid */
  1470. l=208; /*botmid*/
  1471. m=199; /*lsidemid */
  1472. o=182; /*rsidemid */
  1473. p=215; /*centerpoint*/
  1474. q=38;/*spacer*/
  1475. r=10;/*spacer*/
  1476. s=196;/*horizontal midline */
  1477.  
  1478.  /*************** TOP **************/
  1479.  printf("%c",ulcor);
  1480.         {for (n=1;n<=q;++n)
  1481.           printf("%c",topbrdr);
  1482.         }
  1483.   printf("%c",topmid);
  1484.         {for (n=1;n<=q;++n)
  1485.           printf("%c",topbrdr);
  1486.          }
  1487.  printf("%c\n",urcor);
  1488.  
  1489.  
  1490.          /* sides*/
  1491.  
  1492.  {for (n=1;n<=r;++n)
  1493.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  1494.  }
  1495.   printf("%c",lsidemid);
  1496.         { for (n=1;n<=q;++n)
  1497.           printf ("%c",hmidline);
  1498.         }
  1499.         printf ("%c",centerpoint);
  1500.         { for (n=1;n<=q;++n)
  1501.           printf ("%c",hmidline);
  1502.         }
  1503.         printf ("%c\n",rsidemid);
  1504.  {for (n=1;n<=r;++n)
  1505.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  1506.  }
  1507.        /* bottom  */
  1508.  printf("%c",llcor);
  1509.         {for (n=1;n<=q;++n)
  1510.           printf("%c",botbrdr);
  1511.         }
  1512.   printf("%c",botmid);
  1513.         {for (n=1;n<=q;++n)
  1514.           printf("%c",botbrdr);
  1515.          }
  1516.  printf("%c\n",lrcor);
  1517. }
  1518. /*****************************************************/
  1519.  
  1520.    hv_splt_ssframe ()           
  1521. {
  1522. int n; /*Top   */
  1523. a=219;/* a= upper left corner*/
  1524. b=219;/*b= upper right corner*/
  1525. c=219;/* c=lower left corner*/
  1526. d=219;/* d=lower right corner*/
  1527. e=219; /*e= top border */
  1528. f=219; /*f= bottom border */
  1529. g=219; /*g= verticle midline*/
  1530. h=219; /*h= sideline */
  1531. i=77; /*i = length across */
  1532. j=12;/* j = length down screen */
  1533. k=219; /*topmid */
  1534. l=219; /*botmid*/
  1535. m=219; /*lsidemid */
  1536. o=219; /*rsidemid */
  1537. p=219; /*centerpoint*/
  1538. q=38;/*spacer*/
  1539. r=10;/*spacer*/
  1540. s=219;/*horizontal midline */
  1541.  
  1542.  /*************** TOP **************/
  1543.  printf("%c",ulcor);
  1544.         {for (n=1;n<=q;++n)
  1545.           printf("%c",topbrdr);
  1546.         }
  1547.   printf("%c",topmid);
  1548.         {for (n=1;n<=q;++n)
  1549.           printf("%c",topbrdr);
  1550.          }
  1551.  printf("%c\n",urcor);
  1552.  
  1553.  
  1554.          /* sides*/
  1555.  
  1556.  {for (n=1;n<=r;++n)
  1557.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  1558.  }
  1559.   printf("%c",lsidemid);
  1560.         { for (n=1;n<=q;++n)
  1561.           printf ("%c",hmidline);
  1562.         }
  1563.         printf ("%c",centerpoint);
  1564.         { for (n=1;n<=q;++n)
  1565.           printf ("%c",hmidline);
  1566.         }
  1567.         printf ("%c\n",rsidemid);
  1568.  {for (n=1;n<=r;++n)
  1569.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  1570.  }
  1571.        /* bottom  */
  1572.  printf("%c",llcor);
  1573.         {for (n=1;n<=q;++n)
  1574.           printf("%c",botbrdr);
  1575.         }
  1576.   printf("%c",botmid);
  1577.         {for (n=1;n<=q;++n)
  1578.           printf("%c",botbrdr);
  1579.          }
  1580.  printf("%c\n",lrcor);
  1581. }
  1582. /****************************************/
  1583.  
  1584.    hv_splt_chkframe()          
  1585. {
  1586. int n; /*Top   */
  1587. a=176;/* a= upper left corner*/
  1588. b=176;/*b= upper right corner*/
  1589. c=176;/* c=lower left corner*/
  1590. d=176;/* d=lower right corner*/
  1591. e=176; /*e= top border */
  1592. f=176; /*f= bottom border */
  1593. g=176; /*g= verticle midline*/
  1594. h=176; /*h= sideline */
  1595. i=77; /*i = length across */
  1596. j=22;/* j = length down screen */
  1597. k=176; /*topmid */
  1598. l=176; /*botmid*/
  1599. m=176; /*lsidemid */
  1600. o=176; /*rsidemid */
  1601. p=176; /*centerpoint*/
  1602. q=38;/*spacer*/
  1603. r=10;/*spacer*/
  1604. s=176;/*horizontal midline */
  1605.  
  1606.  /*************** TOP **************/
  1607.  printf("%c",ulcor);
  1608.         {for (n=1;n<=q;++n)
  1609.           printf("%c",topbrdr);
  1610.         }
  1611.   printf("%c",topmid);
  1612.         {for (n=1;n<=q;++n)
  1613.           printf("%c",topbrdr);
  1614.          }
  1615.  printf("%c\n",urcor);
  1616.  
  1617.  
  1618.          /* sides*/
  1619.  
  1620.  {for (n=1;n<=r;++n)
  1621.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  1622.  }
  1623.   printf("%c",lsidemid);
  1624.         { for (n=1;n<=q;++n)
  1625.           printf ("%c",hmidline);
  1626.         }
  1627.         printf ("%c",centerpoint);
  1628.         { for (n=1;n<=q;++n)
  1629.           printf ("%c",hmidline);
  1630.         }
  1631.         printf ("%c\n",rsidemid);
  1632.  {for (n=1;n<=r;++n)
  1633.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  1634.  }
  1635.        /* bottom  */
  1636.  printf("%c",llcor);
  1637.         {for (n=1;n<=q;++n)
  1638.           printf("%c",botbrdr);
  1639.         }
  1640.   printf("%c",botmid);
  1641.         {for (n=1;n<=q;++n)
  1642.           printf("%c",botbrdr);
  1643.          }
  1644.  printf("%c\n",lrcor);
  1645. }
  1646. /************************************************/
  1647.  
  1648.    hv_splt_chk1frame ()          
  1649. {
  1650. int n; /*Top   */
  1651. a=177;/* a= upper left corner*/
  1652. b=177;/*b= upper right corner*/
  1653. c=177;/* c=lower left corner*/
  1654. d=177;/* d=lower right corner*/
  1655. e=177; /*e= top border */
  1656. f=177; /*f= bottom border */
  1657. g=177; /*g= verticle midline*/
  1658. h=177; /*h= sideline */
  1659. i=77; /*i = length across */
  1660. j=22;/* j = length down screen */
  1661. k=177; /*topmid */
  1662. l=177; /*botmid*/
  1663. m=177; /*lsidemid */
  1664. o=177; /*rsidemid */
  1665. p=177; /*centerpoint*/
  1666. q=38;/*spacer*/
  1667. r=10;/*spacer*/
  1668. s=177;/*horizontal midline */
  1669.  
  1670.  /*************** TOP **************/
  1671.  printf("%c",ulcor);
  1672.         {for (n=1;n<=q;++n)
  1673.           printf("%c",topbrdr);
  1674.         }
  1675.   printf("%c",topmid);
  1676.         {for (n=1;n<=q;++n)
  1677.           printf("%c",topbrdr);
  1678.          }
  1679.  printf("%c\n",urcor);
  1680.  
  1681.  
  1682.          /* sides*/
  1683.  
  1684.  {for (n=1;n<=r;++n)
  1685.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  1686.  }
  1687.   printf("%c",lsidemid);
  1688.         { for (n=1;n<=q;++n)
  1689.           printf ("%c",hmidline);
  1690.         }
  1691.         printf ("%c",centerpoint);
  1692.         { for (n=1;n<=q;++n)
  1693.           printf ("%c",hmidline);
  1694.         }
  1695.         printf ("%c\n",rsidemid);
  1696.  {for (n=1;n<=r;++n)
  1697.  printf("%c\t\t\t\t       %c\t\t\t\t      %c\n",sideline,midline,sideline);
  1698.  }
  1699.        /* bottom  */
  1700.  printf("%c",llcor);
  1701.         {for (n=1;n<=q;++n)
  1702.           printf("%c",botbrdr);
  1703.         }
  1704.   printf("%c",botmid);
  1705.         {for (n=1;n<=q;++n)
  1706.           printf("%c",botbrdr);
  1707.          }
  1708.  printf("%c\n",lrcor);
  1709. }
  1710.  
  1711.